3.77 \(\int \cos ^3(c+d x) \sqrt{b \sec (c+d x)} \, dx\)

Optimal. Leaf size=70 \[ \frac{2 b^2 \sin (c+d x)}{5 d (b \sec (c+d x))^{3/2}}+\frac{6 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]

[Out]

(6*b*EllipticE[(c + d*x)/2, 2])/(5*d*Sqrt[Cos[c + d*x]]*Sqrt[b*Sec[c + d*x]]) + (2*b^2*Sin[c + d*x])/(5*d*(b*S
ec[c + d*x])^(3/2))

________________________________________________________________________________________

Rubi [A]  time = 0.0514325, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {16, 3769, 3771, 2639} \[ \frac{2 b^2 \sin (c+d x)}{5 d (b \sec (c+d x))^{3/2}}+\frac{6 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]

Antiderivative was successfully verified.

[In]

Int[Cos[c + d*x]^3*Sqrt[b*Sec[c + d*x]],x]

[Out]

(6*b*EllipticE[(c + d*x)/2, 2])/(5*d*Sqrt[Cos[c + d*x]]*Sqrt[b*Sec[c + d*x]]) + (2*b^2*Sin[c + d*x])/(5*d*(b*S
ec[c + d*x])^(3/2))

Rule 16

Int[(u_.)*(v_)^(m_.)*((b_)*(v_))^(n_), x_Symbol] :> Dist[1/b^m, Int[u*(b*v)^(m + n), x], x] /; FreeQ[{b, n}, x
] && IntegerQ[m]

Rule 3769

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(Cos[c + d*x]*(b*Csc[c + d*x])^(n + 1))/(b*d*n), x
] + Dist[(n + 1)/(b^2*n), Int[(b*Csc[c + d*x])^(n + 2), x], x] /; FreeQ[{b, c, d}, x] && LtQ[n, -1] && Integer
Q[2*n]

Rule 3771

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rubi steps

\begin{align*} \int \cos ^3(c+d x) \sqrt{b \sec (c+d x)} \, dx &=b^3 \int \frac{1}{(b \sec (c+d x))^{5/2}} \, dx\\ &=\frac{2 b^2 \sin (c+d x)}{5 d (b \sec (c+d x))^{3/2}}+\frac{1}{5} (3 b) \int \frac{1}{\sqrt{b \sec (c+d x)}} \, dx\\ &=\frac{2 b^2 \sin (c+d x)}{5 d (b \sec (c+d x))^{3/2}}+\frac{(3 b) \int \sqrt{\cos (c+d x)} \, dx}{5 \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ &=\frac{6 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 b^2 \sin (c+d x)}{5 d (b \sec (c+d x))^{3/2}}\\ \end{align*}

Mathematica [A]  time = 0.0594578, size = 57, normalized size = 0.81 \[ \frac{\sqrt{b \sec (c+d x)} \left (\sin (c+d x)+\sin (3 (c+d x))+12 \sqrt{\cos (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right )\right )}{10 d} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[c + d*x]^3*Sqrt[b*Sec[c + d*x]],x]

[Out]

(Sqrt[b*Sec[c + d*x]]*(12*Sqrt[Cos[c + d*x]]*EllipticE[(c + d*x)/2, 2] + Sin[c + d*x] + Sin[3*(c + d*x)]))/(10
*d)

________________________________________________________________________________________

Maple [C]  time = 0.208, size = 315, normalized size = 4.5 \begin{align*}{\frac{2}{5\,d\sin \left ( dx+c \right ) }\sqrt{{\frac{b}{\cos \left ( dx+c \right ) }}} \left ( 3\,i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \cos \left ( dx+c \right ) \sin \left ( dx+c \right ) -3\,i\cos \left ( dx+c \right ) \sin \left ( dx+c \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticE} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) +3\,i{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}\sin \left ( dx+c \right ) -3\,i\sin \left ( dx+c \right ) \sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticE} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) - \left ( \cos \left ( dx+c \right ) \right ) ^{4}-2\, \left ( \cos \left ( dx+c \right ) \right ) ^{2}+3\,\cos \left ( dx+c \right ) \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(d*x+c)^3*(b*sec(d*x+c))^(1/2),x)

[Out]

2/5/d*(b/cos(d*x+c))^(1/2)*(3*I*(1/(cos(d*x+c)+1))^(1/2)*(cos(d*x+c)/(cos(d*x+c)+1))^(1/2)*EllipticF(I*(-1+cos
(d*x+c))/sin(d*x+c),I)*cos(d*x+c)*sin(d*x+c)-3*I*cos(d*x+c)*sin(d*x+c)*(1/(cos(d*x+c)+1))^(1/2)*(cos(d*x+c)/(c
os(d*x+c)+1))^(1/2)*EllipticE(I*(-1+cos(d*x+c))/sin(d*x+c),I)+3*I*EllipticF(I*(-1+cos(d*x+c))/sin(d*x+c),I)*(1
/(cos(d*x+c)+1))^(1/2)*(cos(d*x+c)/(cos(d*x+c)+1))^(1/2)*sin(d*x+c)-3*I*sin(d*x+c)*(1/(cos(d*x+c)+1))^(1/2)*(c
os(d*x+c)/(cos(d*x+c)+1))^(1/2)*EllipticE(I*(-1+cos(d*x+c))/sin(d*x+c),I)-cos(d*x+c)^4-2*cos(d*x+c)^2+3*cos(d*
x+c))/sin(d*x+c)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )^{3}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^3*(b*sec(d*x+c))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sec(d*x + c))*cos(d*x + c)^3, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )^{3}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^3*(b*sec(d*x+c))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*sec(d*x + c))*cos(d*x + c)^3, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)**3*(b*sec(d*x+c))**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \cos \left (d x + c\right )^{3}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)^3*(b*sec(d*x+c))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sec(d*x + c))*cos(d*x + c)^3, x)